<template>
  <div class="press_btns">
    <Form :label-width="90">
      <Form-item label="驳回节点">
        <Select>
              <Option v-for="item in optionList" :key="item.value" :value="item.value">{{item.label}}</Option>
            </Select>
      </Form-item>
      <Form-item label="备注/意见">
        <Input type="textarea" :rows="4"></Input>
      </Form-item>
    </Form>
  </div>
      
</template>
<script>
export default {
  name: 'processesBtns',
  props: {
    title: {
      type: String,
      default() {
        return "";
      }
    },
  },
  
  data () {
    return {
      optionList: [
        {
          label: '草稿',
          value:'1'
        },
        {
          label: '业务单元审核',
          value:'2'
        }
      ],
      actions: [
        {
          text: this.$t("common.confirm"),
          theme: "primary",
          icon: "edit",
          handle: () => {
            this.saveOrUpdate();
          },
          loading: false
        },
        {
          text: "取消",
          theme: "default",
          handle: () => {
            this.$emit("Close");
          }
        }
      ]
    }
     
  },
  created() {
    this.$emit("SetTitle", this.title);
    this.$emit("SetPageWidth", 500);
    this.$emit("SetPageActions", this.actions);
  }
}
</script>
<style lang="less" scoped>

</style>


